package lacus.wd_cinema.dto.screenings;

import lacus.wd_cinema.entity.Screening;
import lombok.Data;

/**
 * 添加放映响应体
 * @author lacus
 * @version 0.4
 * @since 0.4
 */
@Data
public class ScreeningAddResponse {
    private String id;

    public static ScreeningAddResponse from(Screening screening) {
        ScreeningAddResponse response = new ScreeningAddResponse();
        response.setId(screening.getId());
        return response;
    }
}